package com.aggregate.pay.pingan.bean;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 公共的分页信息对象
 * @author Moyq5
 * @date 2017年6月25日
 */
public class CommonPageResult {
	
	/**
	 * 记录总数
	 */
	@JsonProperty("totalnum")
	private Integer totalNum;
	
	/**
	 * 总页数
	 */
	@JsonProperty("totalpage")
	private Integer totalPage;
	
	/**
	 * 每显记录数
	 */
	@JsonProperty("pagesize")
	private Integer pageSize;
	
	/**
	 * 当前页数
	 */
	private Integer page;

	public Integer getTotalNum() {
		return totalNum;
	}

	public void setTotalNum(Integer totalNum) {
		this.totalNum = totalNum;
	}

	public Integer getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(Integer totalPage) {
		this.totalPage = totalPage;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	@Override
	public String toString() {
		return "CommonPageResult [totalNum=" + totalNum + ", totalPage=" + totalPage + ", pageSize=" + pageSize
				+ ", page=" + page + "]";
	}
	
}
